home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 45
/
Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso
/
Aminet
/
game
/
role
/
ldmud-3.2-bin.lha
/
mud
/
doc
/
efun
/
all_environment
< prev
next >
Wrap
Text File
|
1999-06-30
|
540b
|
21 lines
SYNOPSIS
object *all_environment()
object *all_environment(object o)
DESCRIPTION
Returns an array with all environments object <o> is in. If <o> is
omitted, the environments of the current object is returned.
If <o> has no environment, or if <o> is destructed, 0 is returned.
EXAMPLE
If o is a match in a matchbox which is in a box in a chest,
in a room, all_environment(o) will return
({ matchbox, box, chest, room }).
HISTORY
Introduced in LDMud 3.2.6, suggested by TubMud.
SEE ALSO
environment(E), all_inventory(E)